#include<bits/stdc++.h>

using namespace std;

//ctype.h
int main() {
    char ch;
    cin >> ch;
    if (isdigit(ch)) {
        cout << "is digit!" << endl;
    } else if (isupper(ch)) {
        cout << "is uppercase Letter" << endl;
    } else if (islower(ch)) {
        cout << "is lowercase Letter" << endl;
    }
}
